package cn.aloxc.tianya.reader;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Activity_test_relativelayout extends Activity{
	Button cancel = null,okay = null;
	OnClickListener cancel_listener = null,okay_listener =null;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test_relativelayout);
        Bundle data = this.getIntent().getExtras();
        setTitle(data.getString("testItem"));
        cancel_listener = new OnClickListener(){
			public void onClick(View arg0) {
				Activity_test_relativelayout.this.finish();
			}
		};
		okay_listener = new OnClickListener(){
			public void onClick(View arg0) {
				
			}
		};
        cancel = (Button)findViewById(R.id.relitive_cancel);
        okay = (Button)findViewById(R.id.relitive_ok);
        cancel.setOnClickListener(cancel_listener);
        okay.setOnClickListener(okay_listener);
        
        
    }
}
